package ru.linnenson.darshana.infrastructure.persistence.repositories;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import ru.linnenson.darshana.application.domain.SubjectEnum;
import ru.linnenson.darshana.infrastructure.persistence.models.SourceStore;
import java.util.List;

@Repository
public interface SourcePersistenceRepository extends CrudRepository<SourceStore, Integer> {

  List<SourceStore> findAllBySubjectSysnameOrderById(SubjectEnum subject);
}
